import request from '@/utils/request'

// 查询技术评定列表
export function listJishupingding(query) {
  return request({
    url: '/biz/jishupingding/list',
    method: 'get',
    params: query
  })
}

// 查询技术评定详细
export function getJishupingding(id) {
  return request({
    url: '/biz/jishupingding/' + id,
    method: 'get'
  })
}

// 新增技术评定
export function addJishupingding(data) {
  return request({
    url: '/biz/jishupingding',
    method: 'post',
    data: data
  })
}

// 修改技术评定
export function updateJishupingding(data) {
  return request({
    url: '/biz/jishupingding',
    method: 'put',
    data: data
  })
}

// 删除技术评定
export function delJishupingding(id) {
  return request({
    url: '/biz/jishupingding/' + id,
    method: 'delete'
  })
}

// 导出技术评定
export function exportJishupingding(query) {
  return request({
    url: '/biz/jishupingding/export',
    method: 'get',
    params: query
  })
}